package com.example.siyun.pojo;
/**
 * @Auther: 全
 * @Date: 2022/10/2 19:54
 * @Description: 后台管理的数据,树的数据表
 */
public class BackOfficeTree {
    private int id;
    /* 节点姓名 */
    private String name;
    /* 节点父节点id */
    private int pid;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    @Override
    public String toString() {
        return "Backofficelist{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", pid=" + pid +
                '}';
    }
}
